const express = require("express")

const app = express()
//引入nodejs内置的模块
const appendStr = require("./10自定义中间件")
app.use(appendStr)

app.post("/user",(req,res)=>{

    res.send(req.body)
})

app.listen(8080)
